<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			#hd{
				width:400px ;
				height: 300px;
				background: red;
			}
		</style>
		<script src='jquery-3.4.1.js'></script>
		<script src='jquery.easing.1.3.js'></script>
		<script>
			$(function(){
				//获得元素样式
				//var w=$("#hd").css('width');
				var w=$("#hd").css('backgroundColor');
				alert(w);
			})
		</script>
	</head>
	<body>
		<div id="hd">
			
		</div>
	</body>
</html>
